class OtherObj: pass

class Blah:
    name = str
    age = OtherObj
    
class OtherObj:
    name = 'tommy'
    age = Blah

if __name__ == '__main__':
    pass
